<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 下
  Date: 2017/6/13
  Time: 20:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<link rel="stylesheet" href="<%=request.getContextPath()%>/resources/css/item.css" type="text/css"/>
<head>
    <title></title>
</head>
<body>
<h2>商品详细信息页面</h2>
<a href="/list">返回首页</a>
  <%--${items.id}-------${items.name}------${items.city}-------${items.number}
  ------${items.price}------${items.picture}--%>
<table cellpadding="0" cellspacing="0">
  <tr>
    <th>id</th>
    <th>name</th>
    <th>city</th>
    <th>number</th>
    <th>price</th>
    <th>picture</th>
  </tr>
  <c:forEach items="${items}" var="um">
  <tr>
    <td>${um.id}</td>
    <td>${um.name}</td>
    <td>${um.city}</td>
    <td>${um.number}</td>
    <td>${um.price}</td>
    <td>${um.picture}</td>
  </tr>
  </c:forEach>
</table>
</body>
</html>
